#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : Chestnut
# @time    : 2025/6/27 16:55
# @function: What can I do.
# @version : V1

# a=1
#
# def func1():
#     print(a)
# func1()
# def func2():
#     b=2
#
# print(b)
def func1():
    return 1
def func2(dec_func):
    a = int(dec_func())+1
    return a

print(func2(func1()))